import {defineConfig} from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import Unocss from 'unocss/vite';
import Components from 'unplugin-vue-components/vite'
// @ts-ignore
import path from 'path';

export default defineConfig({
    resolve: {
        alias: {
            '@': path.resolve(__dirname, 'src')
        },
    },
    plugins: [
        Unocss(),
        Components({dts: true}),
        uni(),
    ],
});
